<?php

use yii\helpers\Html;
use app\assets\TimelineAsset;
use yii\widgets\ActiveForm;
use app\modules\clinical\models\ExcelFcmte;

/* @var $this yii\web\View */
/* @var $model app\models\ExcelFcmt */
/* @var $form yii\widgets\ActiveForm */
TimelineAsset::register($this);
?>

<section class="cd-horizontal-timeline">
<div class="timeline">
  <div class="events-wrapper">
    <div class="events">
      <ol id="timelineList">
        <li><a href="#0" data-date="16/01/2014" class="selected">病史资料</a></li>
        <li><a href="#0" data-date="28/02/2014">体格检查</a></li>
      </ol>

      <span class="filling-line" aria-hidden="true"></span>
    </div> <!-- .events -->
  </div> <!-- .events-wrapper -->
        
</div> <!-- .timeline -->

<div class="events-content">
  <ol>
    <li class="selected" data-date="16/01/2014">

    <h4>病史资料（注意有无糖尿病及其他伴发症状等）</h4>

    <div class="form-group">
      <?= Html::label('患者姓名', 'pt_rel') ?><br />
      <?= Html::dropDownList('pt_rel', (!empty($pt_rel)) ? $pt_rel : 0, $pt_rel_list, ($model->isNewRecord) ? ['class' => 'pt_rel_list'] : ['class' => 'pt_rel_list', 'disabled' => 'true']) ?>
    </div>
    
    <?= $form->field($model, 'pt_age')->textInput()->error(false) ?><br />

    <?= $form->field($model, 'pt_history')->textArea(['maxlength' => true])->error(false) ?><br />

    <?= $form->field($model, 'lc_order')->radioList(ExcelFcmte::getParams('lc_order'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'lc_zhen_age')->textInput()->error(false) ?><br />

    <?= $form->field($model, 'lc_body')->radioList(ExcelFcmte::getParams('lc_body'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'lc_body_order')->textArea(['maxlength' => true])->error(false) ?><br />

    <?= $form->field($model, 'lc_type')->radioList(ExcelFcmte::getParams('lc_type'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'lc_isMed')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'lc_afterMed')->radioList(ExcelFcmte::getParams('lc_afterMed'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'lc_zhen_severe')->radioList(ExcelFcmte::getParams('lc_zhen_severe'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'lc_xian_age')->textInput()->error(false) ?><br />

    <?= $form->field($model, 'lc_fazuo')->textArea(['maxlength' => true])->error(false) ?><br />

    <?= $form->field($model, 'lc_xianzhao')->textArea(['maxlength' => true])->error(false) ?><br />

    <?= $form->field($model, 'lc_yongyao')->textArea(['maxlength' => true])->error(false) ?><br />

    <?= $form->field($model, 'lc_youfa')->textInput()->error(false) ?><br />

    <?= $form->field($model, 'lc_xian_severe')->radioList(ExcelFcmte::getParams('lc_zhen_severe'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'lc_mmse')->textInput()->error(false) ?><br />

    <?= $form->field($model, 'lc_jiangzhi')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'lc_yemang')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'lc_piantout')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'lc_jizhenl')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'lc_better')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'lc_hanm_yiyu')->textInput()->error(false) ?>

    <?= $form->field($model, 'lc_hanm_jiaolv')->textInput()->error(false) ?>

    </li>

    <li data-date="28/02/2014">

    <!-- <h4>二、体格检查</h4> -->
    <b>肌力：</b><br />

    <?= $form->field($model, 'bd_jili_lu')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?>

    <?= $form->field($model, 'bd_jili_ld')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?>

    <?= $form->field($model, 'bd_jili_ru')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?>

    <?= $form->field($model, 'bd_jili_rd')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?><br />

    <b>肌张力：</b><br />

    | <?= $form->field($model, 'bd_jiz_lu')->radioList(ExcelFcmte::getParams('jizhangli'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_jiz_ld')->radioList(ExcelFcmte::getParams('jizhangli'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_jiz_ru')->radioList(ExcelFcmte::getParams('jizhangli'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_jiz_rd')->radioList(ExcelFcmte::getParams('jizhangli'), ['class'=>'radioList'])->error(false) ?><br />

    <b>腱反射：</b><br />

    | <?= $form->field($model, 'bd_fanshe_er')->radioList(ExcelFcmte::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_fanshe_san')->radioList(ExcelFcmte::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_fanshe_rao')->radioList(ExcelFcmte::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_fanshe_xi')->radioList(ExcelFcmte::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_fanshe_huai')->radioList(ExcelFcmte::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_zhen_bin')->radioList(ExcelFcmte::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_zhen_huai')->radioList(ExcelFcmte::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_bingli')->radioList(ExcelFcmte::getParams('yinyang'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_hoffman')->radioList(ExcelFcmte::getParams('yinyang'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'bd_zhangai')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_xiazhi_zhen')->radioList(ExcelFcmte::getParams('xiazhi_zhen'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_xiazhi_wei')->radioList(ExcelFcmte::getParams('xiazhi_zhen'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'bd_zhuiti')->textArea(['maxlength' => true])->error(false) ?><br />

    <b>共济运动：</b><br />

    | <?= $form->field($model, 'bd_gg_zhibi')->radioList(ExcelFcmte::getParams('zhibi'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_gg_genxi')->radioList(ExcelFcmte::getParams('yinyang'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_gg_romberg')->radioList(ExcelFcmte::getParams('yinyang'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_gg_yizi')->radioList(ExcelFcmte::getParams('yizi'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'bd_shenjing')->textArea(['maxlength' => true])->error(false) ?><br />

    | <?= $form->field($model, 'bd_weisuo_ji')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_gongxing')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'bd_butai')->textArea(['maxlength' => true])->error(false) ?><br />

    | <?= $form->field($model, 'bd_weisuo_shi')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_sesu')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_gouyin')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_shiyu')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_yanzhen')->radioList(ExcelFcmte::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'bd_chidai')->textArea(['maxlength' => true])->error(false) ?><br />

    <?= $form->field($model, 'bd_else')->textArea(['maxlength' => true])->error(false) ?><br />

    <?= $form->field($model, 'bd_fayu')->textArea(['maxlength' => true])->error(false) ?>

    </li>
  </ol>
</div> <!-- .events-content -->
</section>
